package com.gxa.meiye.admin.shop.service;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.service
 * @Date 2022/7/23 10:03
 * @Version 1.0
 */
public interface MainService {
    Integer queryPayNum(Integer status2, String todayTime );
    Integer queryCheckNum(Integer status4,String  todayTime);
    Integer queryRefundNum(Integer status8,String todayTime);
    BigDecimal getPay(Integer status2,String todayTime);
    BigDecimal getIncome(Integer status4,String  todayTime);
    BigDecimal getRefund(Integer status8,String  todayTime);

    Integer SevenDaysAgoPayNum(Integer status2,Long nowTime,Long sevenDaysAgo);
    Integer SevenDaysAgoCheckNum(Integer status4,Long nowTime,Long sevenDaysAgo);
    Integer SevenDaysAgoRefundNum(Integer status8,Long nowTime,Long sevenDaysAgo);
    BigDecimal SevenDaysAgoPay(Integer status2,Long nowTime,Long sevenDaysAgo);
    BigDecimal SevenDaysAgoIncome(Integer status4,Long nowTime,Long sevenDaysAgo);
    BigDecimal SevenDaysAgoRefund(Integer status8,Long nowTime,Long sevenDaysAgo);

    Integer ThirtyDaysAgoPayNum(Integer status2,Long nowTime,Long thirtyDaysAgo);
    Integer ThirtyDaysAgoCheckNum(Integer status4,Long nowTime,Long thirtyDaysAgo);
    Integer ThirtyDaysAgoRefundNum(Integer status8,Long nowTime,Long thirtyDaysAgo);
    BigDecimal ThirtyDaysAgoPay(Integer status2,Long nowTime,Long thirtyDaysAgo);
    BigDecimal ThirtyDaysAgoIncome(Integer status4,Long nowTime,Long thirtyDaysAgo);
    BigDecimal ThirtyDaysAgoRefund(Integer status8,Long nowTime,Long thirtyDaysAgo);
}
